<?php
if(!isset($_GET['signup'])){
    $_GET['signup']=0;
}


?>
<div class="block2">
<font class="signup">
<font class="signup1">
Free Signup<br><br>
</font>
<form action="include/newmember.php" method="post">
First Name:<br>
<input type="text" name="firstname"><br><br>
Last Name:<br>
<input type="text" name="lastname"><br><br>
Username:<br>
<input type="text" name="username"><br><br>
Password:<br>
<input type="password" name="password"><br><br>
Re-type Password:<br>
<input type="password" name="password2"><br><br>
<input type="submit" value="Signup">
</form>
<br>
<?php
if($_GET['signup']==1){
    echo "You have succesfully registered!";
}else if($_GET['signup']==2){
    echo "Username already exist!";
}

?>
</font>

</div>